package com.alibaba.dingtalk.openapi.newmessage.entity;/*/*/

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 *
 * @author 魏荣杰
 * @date 2019/3/21 15:59
 * @since v1.0
 * @version v1.0
 */
@Setter
@Getter
@ToString
public class File extends AbstractMessage {
    private static final long serialVersionUID = -5907918555753454458L;

    /**
     * 媒体文件id。引用的媒体文件最大10MB
     */
    @JSONField(name = "media_id")
    private String mediaId;

    @Override
    public String type() {
        return "file";
    }
}
